package test;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.Rectangle;
import engine.Character;
import engine.Level;

public class Enemy extends Character {
    private final int LENGTH = 30;
    
    public Enemy(int x, int y) {
        changeSpeed(new Point(0,0));
        setPosition(new Point(x,y));
    }
    

    @Override
    public void paint (Graphics g, int offsetX, int offsetY) {
        g.setColor(Color.BLACK);
        g.fillRect((int)getPosition().getX()-offsetX,(int)getPosition().getY()-offsetY,LENGTH,LENGTH);
        
    }

    @Override
    public Rectangle getBounds () {
        return new Rectangle((int)getPosition().getX(), (int)getPosition().getY(),LENGTH,LENGTH);
    }

    @Override
    public void updateState (Level l) {
        // TODO Auto-generated method stub
        
    }

}
